package com.alibaba.algo.cooperation.config;

/**
 * @ClassName DingTalkConfig
 * @Description 钉钉接口地址url常量
 * @Author wangke
 * @Date 2021/9/26 9:17
 */
public class DingTalkConstants {

    public static String RESPONSE_SUCCESS_CODE = "0";

    public static String REQUEST_LANGUAGE_CN = "zh_CN";

    public static String LOCAL_CACHE_TOKEN_KEY_PRFIX = "sso:ding:";

    public static String HTTP_METHOD_GET = "GET";

    public static String BASE_URL="https://oapi.dingtalk.com";

    public static String GET_TOKEN = "/gettoken";

    public static String GET_BY_CODE = "/sns/getuserinfo_bycode";

    public static String GET_BY_UNION_ID = "/topapi/user/getbyunionid";

    public static String GET_USER_INFO = "/topapi/v2/user/get";
}
